<?php
namespace App\Models;

class ClientUserRongcloud extends CommonModel {
	protected $table = 'client_user_rongcloud';
	
	public function scopeUnview($query){
		$query->where(['viewed'=>0]);
	}
	
	public function scopeViewed($query){
		$query->where(['viewed'=>1]);
	}
}